package com.yanqu.road.entity.log.cross.biaoju;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.utils.date.DateHelper;

import java.util.Date;

@FieldTypeAnnotation(desc = "镖局建设日志", tableName = "t_l_ck_biaoju_log_build_city", autoSave = true, uploadCk = true, isCross = true)
public class LogBiaoJuBuildCity extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "分组", isIndex = true)
    private int unionGroup;
    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "商会id")
    private String unionId;
    @FieldTypeAnnotation(desc = "镖局等级")
    private int unionLevel;
    @FieldTypeAnnotation(desc = "加的经验")
    private long addExp;
    @FieldTypeAnnotation(desc = "新经验")
    private long nowExp;
    @FieldTypeAnnotation(desc = "城市id")
    private int cityId;
    @FieldTypeAnnotation(desc = "赏金消耗")
    private long money;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "加积分")
    private long addScore;
    @FieldTypeAnnotation(desc = "当前分")
    private long nowScore;
    @FieldTypeAnnotation(desc = "时间")
    private long logTime;

    public LogBiaoJuBuildCity(int activityId, int unionGroup, long userId, String unionId, int unionLevel, long addExp, long nowExp, int cityId, long money, String reward, long addScore, long nowScore) {
        this.activityId = activityId;
        this.unionGroup = unionGroup;
        this.userId = userId;
        this.unionId = unionId;
        this.unionLevel = unionLevel;
        this.addExp = addExp;
        this.nowExp = nowExp;
        this.cityId = cityId;
        this.money = money;
        this.reward = reward;
        this.addScore = addScore;
        this.nowScore = nowScore;
        this.logTime = DateHelper.getCurrentTime();
    }

    public int getActivityId() {
        return activityId;
    }

    public int getUnionGroup() {
        return unionGroup;
    }

    public long getUserId() {
        return userId;
    }

    public String getUnionId() {
        return unionId;
    }

    public int getUnionLevel() {
        return unionLevel;
    }

    public long getAddExp() {
        return addExp;
    }

    public long getNowExp() {
        return nowExp;
    }

    public int getCityId() {
        return cityId;
    }

    public long getMoney() {
        return money;
    }

    public String getReward() {
        return reward;
    }

    public long getAddScore() {
        return addScore;
    }

    public long getNowScore() {
        return nowScore;
    }

    public long getLogTime() {
        return logTime;
    }
}
